package com.jerry.android.TabBar.fragment;

import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;

import com.blankj.utilcode.util.FragmentUtils;
import com.jerry.android.R;
import com.jerry.android.TabBar.TabContentActivity;
import com.jerry.android.TabBar.utilcode.TabUtilCodeActivity;
import com.jerry.android.Utils.ActivityUtils;

public class WeixinFragment extends Fragment {

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {

		View view = inflater.inflate(R.layout.fragment_tab01, container, false);
		TextView content = (TextView)view.findViewById(R.id.content);
		content.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View view) {
				ActivityUtils.getInstance().startActivity(getActivity(), TabContentActivity.class, null);
			}
		});

		return view;
	}

	@Override
	public void onResume() {
		super.onResume();

		System.out.println("Weixin Fragment ==== onResume()");
	}

}
